package pub.guoxin.oops.analysis.service;

import pub.guoxin.oops.constants.CDI;
import pub.guoxin.oops.constants.DDI;

/**
 * Created by guoxin on 17-10-23.
 */
public abstract class AbstractDataAnalysisService implements DataAnalysisService{

    protected int calculations(int i, int index){
        int d = CDI.TOTAL_LENGTH + index + DDI.TOTAL_LENGTH * i;
        return d;
    }
}
